package Basic;

import java.util.ArrayList;

public class HomeWork06 {
	public static void main(String[] args){
		ArrayList<Integer> list = new ArrayList<Integer> ();
		arrayListShow(list);
	}

	private static void arrayListShow(ArrayList<Integer> list) {
		list.add(100);	list.add(200);	list.add(300);
		int [] num = new int[3];
		System.out.print("{");
		for (int i=0;i<3;i++){
			num[i] = list.get(i);
			if (i == 2){
				System.out.print(num[i]+"}");
				break;
			}System.out.print(num[i]+"@");
		}
	}
}
